package simple.demo.springintegration.demo.chapter5.component;

import org.springframework.integration.annotation.ServiceActivator;
import org.springframework.stereotype.Component;

import static java.lang.System.*;

@Component
public class JmsHandler {

		@ServiceActivator
		public void handleMessage(String message) {
			out.println("Received message : " + message);
		}
}
